package com.jingtai.shop.filter;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.servlet.HandlerInterceptor;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Slf4j
public class NotAuthorizationTokenInterceptor implements HandlerInterceptor {

    /**
     * 无需验证token
     */

    @Override
    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler){
        log.info("进入免认证拦截器........");
        return true;
    }
}
